package cn.edu.ctbu.test.service;

import cn.edu.ctbu.test.domain.Score;
import cn.edu.ctbu.test.domain.Score;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ScoreService {
    List<Score> findAll();

    Page<Score> findAll(Pageable pageable);

    Page<Score> findAll(Example<Score> score,Pageable pageable);




    Score insert(Score score);

    void delete(Long Id);

    Score getById(Long Id);

    Score update(Score score);

    List<Score> findByStudentId(Long studentId);


}
